// 公共路由配置
export default [
  {
    path: '/',
    name: 'Home',
    component: () => import('@/views/ViewCertificate.vue'),
    meta: {
      title: '首页',
      icon: 'Home'
    }
  },
  {
    path: '/view/:certNumber?',
    name: 'ViewCertificate',
    component: () => import('@/views/ViewCertificate.vue'),
    meta: {
      title: '证书查看',
      icon: 'Document'
    }
  },
  {
    path: '/admin/login',
    name: 'Login',
    component: () => import('@/views/admin/Login.vue'),
    meta: {
      title: '登录',
      icon: 'User',
      hidden: true
    }
  }
] 